home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Database / DateFormatter / DateTFCell.h < prev    next >
Text File  |  1995-06-12  |  997b  |  31 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/TextFieldCell.h>
  5. #import <appkit/appkit.h>
  6.  
  7. @interface DateTFCell:TextFieldCell
  8. {
  9.     NXTextFilterFunc oldTextFilter; /* hold original filter func */
  10. }
  11.  
  12. /* override these methods so that when the user TABs into the TextField or 
  13.  * mouseDowns into the TextField, the filter function of the fieldEditor can be 
  14.  * changed.  These are the two ways that a TextField can be enabled for taking 
  15.  * user input so this is the place to control the user input.
  16.  */
  17.  
  18. - select:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject start:(int)selStart length:(int)selLength;
  19.  
  20. - edit:(const NXRect *)aRect inView:controlView editor:textObj delegate:anObject event:(NXEvent *)theEvent;
  21.  
  22. /* override this method to remove the fieldEditor from the View hierarchy */
  23.  
  24. - endEditing:anObject;
  25.  
  26. /* the filter function for the DateTFCell and DateTextField */
  27.  
  28. char *dateFilter(id textObj, char *inputText, int *inputLength, int position);
  29.  
  30. @end
  31.